﻿<phone:PhoneApplicationPage 
    x:Class="ActivityTracker.Views.Help.AddorEditActivity"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="696" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,0">
            <TextBlock x:Name="ApplicationTitle" Text="ACTIVITY TRACKER - ADD OR EDIT ACTIVITY" Style="{StaticResource PhoneTextNormalStyle}"/>
        </StackPanel>
        <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" Height="700">
            <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,17,12,0" Height="1200">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <StackPanel Grid.Row="0" Orientation="Horizontal" Margin="0,0,0,0">
                    <TextBlock Text="1." Margin="10,0,10,0" FontSize="26"  />
                    <TextBlock Width="410" FontSize="26"
                 Text="Go to the menu section and click on my activities menu item" TextWrapping="Wrap"/>
                </StackPanel>
                <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="0,15,0,0">
                    <TextBlock Text="2." Margin="10,0,10,0" FontSize="26"  />
                    <TextBlock Width="410" FontSize="26"
                 Text="Click on the new button to go the Add New Activity Page OR click on the edit button to go the Edit Activity page by selecting an activity which you want to edit." TextWrapping="Wrap"/>
                </StackPanel>
                <StackPanel Grid.Row="2" Orientation="Horizontal" Margin="0,15,0,0">
                    <TextBlock Text="3." Margin="10,0,10,0" FontSize="26"  />
                    <TextBlock Width="410" FontSize="26"
                 Text="Enter Name, select image by clicking on the add photo Image." TextWrapping="Wrap"/>
                </StackPanel>
                <StackPanel Grid.Row="3" Orientation="Horizontal" Margin="0,15,0,0">
                    <TextBlock Text="4." Margin="10,0,10,0" FontSize="26"  />
                    <TextBlock Width="410" FontSize="26"
                 Text="Click on the choose category text or click on the image which is beside the choose category text, then it navigates to the category page, from there check the checkboxes of the categories you need and then click on done button." TextWrapping="Wrap"/>
                </StackPanel>
                <StackPanel Grid.Row="4" Orientation="Horizontal" Margin="0,15,0,0">
                    <TextBlock Text="5" Margin="10,0,10,0" FontSize="26"  />
                    <TextBlock Width="410" FontSize="26"
                 Text="And last click on the save button." TextWrapping="Wrap"/>
                </StackPanel>
                <StackPanel Grid.Row="5" Orientation="Horizontal" Margin="0,15,0,0">
                    <TextBlock Text="6." Margin="10,0,10,0" FontSize="26"  />
                    <TextBlock Width="410" FontSize="26"
                 Text="Then the acitivity will be displayed in the myactivities page as last item." TextWrapping="Wrap"/>
                </StackPanel>
            </Grid>
        </ScrollViewer>

    </Grid>
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar.transport.play.rest.png" Text="you tube"  Click="ApplicationBarIconButton_youtube_Click"/>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>
